package com.roadjava.GDOUGym.mapper;

import com.roadjava.GDOUGym.bean.dto.DenueHireMessageDTO;
import com.roadjava.GDOUGym.bean.dto.PlaceDTO;
import com.roadjava.GDOUGym.bean.entity.DenueHireMessageDO;
import com.roadjava.GDOUGym.bean.entity.PlaceDO;

import java.util.List;

public interface DenueHireMessageMapper {
    List<DenueHireMessageDO> find(DenueHireMessageDTO dto);
    List<PlaceDO> findCanApp(DenueHireMessageDTO dto);
    long selectCount(DenueHireMessageDTO dto);
    long selectCanAppCount(DenueHireMessageDTO dto);
    int add(DenueHireMessageDO denueHireMessageDO);
    int change(DenueHireMessageDO denueHireMessageDO);
    int delete(DenueHireMessageDO denueHireMessageDO);
}
